function res = main()

addpath('./base');
addpath('./lira');
addpath('./util');

dataSize = 15000;

disp('Loading dataset...');
tic
[I,labels,I_test,labels_test] = loadDataset(dataSize, 1);
toc

hPos = 5;
hNeg = 5;
gWindowLength = 9;

disp('Building LiRA features...');
tic
for i=1:dataSize
    featureSet(i) = LiraFeature(hPos, hNeg, gWindowLength, I{i});
end
toc

liraNN = LiraNeuralNetwork(featureSet, I, labels);
save('lira-nn2','liraNN','I','labels','I_test','labels_test');
% for i=1:length(labels_test)
%     
% end
res = 0;

end

